<?php
namespace application\controllers;

use system\core\Controller;
use application\models\NewsModel;

/**
 * Description of News
 *
 * @author Steffen Brem <steffenbrem@gmail.com>
 */
class News extends Controller
{
    public function index()
    {
        $newsModel = new NewsModel();   
        $data['news'] = $newsModel->getNews();
        
        $this->load->vars($data);
    }
}